<?xml version="1.0" encoding="utf-8"?>
<hibernate-mapping assembly="SimCMS.Model" namespace="SimCMS.Model" xmlns="urn:nhibernate-mapping-2.2">
  <class name="Simnews" table="Sim_news" lazy="true" >
    <id name="Id">
      <generator class="identity" />
    </id>
    <property name="CatId">
      <column name="CatId" sql-type="int" not-null="false" />
    </property>
    <property name="TypeId">
      <column name="TypeId" sql-type="int" not-null="false" />
    </property>
    <property name="Title">
      <column name="Title" sql-type="varchar" not-null="false" />
    </property>
    <property name="Style">
      <column name="Style" sql-type="nvarchar" not-null="false" />
    </property>
    <property name="Thumb">
      <column name="Thumb" sql-type="varchar" not-null="false" />
    </property>
    <property name="Keywords">
      <column name="Keywords" sql-type="nvarchar" not-null="false" />
    </property>
    <property name="Description">
      <column name="Description" sql-type="text" not-null="false" />
    </property>
    <property name="Url">
      <column name="Url" sql-type="nvarchar" not-null="false" />
    </property>
    <property name="ListOrder">
      <column name="ListOrder" sql-type="int" not-null="false" />
    </property>
    <property name="Status">
      <column name="Status" sql-type="int" not-null="false" />
    </property>
    <property name="IsLink">
      <column name="IsLink" sql-type="bit" not-null="false" />
    </property>
    <property name="InputTime">
      <column name="InputTime" sql-type="datetime" not-null="false" />
    </property>
    <property name="UpdateTime">
      <column name="UpdateTime" sql-type="datetime" not-null="false" />
    </property>
    <bag name="Simnewsdata" inverse="true" cascade="none">
      <key column="NewId" />
      <one-to-many class="Simnewsdata" />
    </bag>
  </class>
</hibernate-mapping>